package cn.domob.android.ads;

import android.content.Context;
import android.util.Log;

public class DomobSplashAd
{
  private static J a = new J(DomobSplashAd.class.getSimpleName());
  private B b;
  private boolean c = false;
  private boolean d = false;

  public DomobSplashAd(Context paramContext, String paramString)
  {
    this.b = new B(paramContext, paramString);
  }

  public boolean isSplashAdReady()
  {
    this.c = true;
    this.d = this.b.m();
    return this.d;
  }

  public void setKeyword(String paramString)
  {
    this.b.setKeyword(paramString);
  }

  public void setSplashAdListener(DomobSplashAdListener paramDomobSplashAdListener)
  {
    this.b.a(paramDomobSplashAdListener);
  }

  public void setUserBirthdayStr(String paramString)
  {
    this.b.setUserBirthdayStr(paramString);
  }

  public void setUserGender(String paramString)
  {
    this.b.setUserGender(paramString);
  }

  public void setUserPostcode(String paramString)
  {
    this.b.setUserPostcode(paramString);
  }

  public void splash(Context paramContext)
  {
    if ((this.c) && (this.d))
    {
      a.b("Show Splash View.");
      this.b.a(paramContext);
      this.c = false;
      return;
    }
    if (this.c)
    {
      Log.e("DomobSDK", "Splash AD is not ready yet.");
      return;
    }
    if (isSplashAdReady())
    {
      this.b.a(paramContext);
      this.c = false;
      return;
    }
    Log.e("DomobSDK", "Splash AD is not ready yet. Please call \"isSplashReady()\" first to check.");
  }
}

/* Location:           C:\Users\god\Desktop\liunianjishiben_V1.1_mumayi_3745b_dex2jar.jar
 * Qualified Name:     cn.domob.android.ads.DomobSplashAd
 * JD-Core Version:    0.5.4
 */